/*******************************************************************************
 * Copyright (c) 2017-2021, org.smartboot. All rights reserved.
 * project name: smart-socket
 * file name: Provider.java
 * Date: 2021-02-27
 * Author: sandao (zhengjunweimail@163.com)
 *
 ******************************************************************************/

package com.aio.stylesmile;


import com.aio.stylesmile.aio.AioQuickServer;
import lombok.RequiredArgsConstructor;

import java.io.IOException;

/**
 * @author 三刀
 * @version V1.0 , 2018/7/1
 */
@RequiredArgsConstructor
public class Application {

    public static void main(String[] args) throws IOException {
        Long startTime = System.currentTimeMillis();
        AioQuickServer server = new AioQuickServer(8080);
        server.start();
        Long endTime = System.currentTimeMillis();
        System.out.println("服务启动成功：" + (endTime - startTime) + " 毫秒");
    }
}
